package com.lovo.pis.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_buy_order")
public class BuyOrderBean {

    @TableId(value = "id", type = IdType.AUTO)
    //采购单id
    private int id;
    //供应商名称
    private String supplierName;
    //采购员
    private String buyer;
    //采购时间
    private String createTime;
    @TableField(exist = false)
    private List<BuyGoodsBean> buyGoodsList;
}
